package com.tiancheng.trade.settlement.model.payment;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author kellen
 * @date 2021/3/26
 */
@TableName("refund_flow_detail")
@Data
@NoArgsConstructor
public class PaymentRefundFlowDetail {
    private Long id;
    /**
     * 退款流水号
     */
    private String flowId;
    /**
     * 退款订单号
     */
    private String paymentId;
    /**
     * 子订单退款金额
     */
    private Integer amount;

    /**
     * 子订单金额
     */
    private Integer orderAmount;

    /**
     * 子订单号
     */
    private String subOrderId;

    /**
     * 子订单优惠金额
     */
    private Integer discount;
    /**
     * 清分状态：ING=清分中；ERROR=异常；SUCCESS=清分完成
     */
    private String settleStatus;
    /**
     * 清分异常说明
     */
    private String settleErrorDesc;
}
